﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PremiseFrame.ascx.cs"
    Inherits="SD.Web.Controls.PremiseFrame" %>
<div class="titleh">
    <h3>
        Premise</h3>
</div>
<asp:GridView ID="GridViewPremises" CssClass="tablesorter" runat="server" AutoGenerateColumns="False"
    AllowPaging="True" PageSize="5" AllowSorting="True">
    <Columns>
        <asp:HyperLinkField DataNavigateUrlFormatString="~/Organization/OrganizationDetails.aspx"
            HeaderText="Premise Name" SortExpression="OrganizationName">
            <HeaderStyle CssClass="header" />
        </asp:HyperLinkField>
        <asp:TemplateField HeaderText="Address" SortExpression="Description">
            <ItemTemplate>
            </ItemTemplate>
            <HeaderStyle CssClass="header" />
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Primary Location">
            <ItemTemplate>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Phone Number">
            <ItemTemplate>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <EmptyDataTemplate>
        <blockquote>
            There are no items to show.</blockquote>
    </EmptyDataTemplate>
    <PagerStyle CssClass="pagination_table"></PagerStyle>
</asp:GridView>
<fieldset>
    <legend>Located In</legend>
    <div class="st-form-line-noleft">
        <div class="half2">
            <asp:Label ID="LabelWard" runat="server" Text="Ward" CssClass="st-labeltext level1" />
            <asp:TextBox ID="TextBoxWard" runat="server" CssClass="st-forminput st-disable" 
                Width="200px" ReadOnly="True"></asp:TextBox>
        </div>
        <div class="half2 last">
            <asp:Label ID="LabelAuthority" runat="server" Text="NHS Authority" CssClass="st-labeltext level1" />
            <asp:TextBox ID="TextBoxAuthority" runat="server" 
                CssClass="st-forminput st-disable" Width="200px" ReadOnly="True"></asp:TextBox>
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="st-form-line-noleft">
        <div class="half2">
            <asp:Label ID="LabelBorough" runat="server" Text="Borough" CssClass="st-labeltext level1" />
            <asp:TextBox ID="TextBoxBorough" runat="server" 
                CssClass="st-forminput st-disable" Width="200px" ReadOnly="True"></asp:TextBox>
        </div>
        <div class="half2 last">
            <asp:Label ID="LabelGovOfficeRegion" runat="server" Text="Govt Office Region" CssClass="st-labeltext level1" />
            <asp:DropDownList ID="DropDownListGovOfficeRegion" CssClass="st-forminput" Width="200px"
                runat="server">
            </asp:DropDownList>
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="st-form-line-noleft">
        <div class="half2">
            <asp:Label ID="LabelLocalAuthority" runat="server" Text="Local Authority" CssClass="st-labeltext level1" />
            <asp:TextBox ID="TextBoxLocalAuthority" runat="server" 
                CssClass="st-forminput st-disable" Width="200px" ReadOnly="True"></asp:TextBox>
        </div>
        <div class="half2 last">
            <asp:Label ID="LabelTrustRegion" runat="server" Text="Trust Region" CssClass="st-labeltext level1" />
            <asp:DropDownList ID="DropDownListTrustRegion" CssClass="st-forminput" Width="200px"
                runat="server">
            </asp:DropDownList>
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="st-form-line-noleft">
        <div class="half2">
            <asp:Label ID="LabelUnitaryAuthority" runat="server" Text="Unitary Authority" CssClass="st-labeltext level1" />
            <asp:TextBox ID="TextBoxUnitaryAuthority" runat="server" CssClass="st-forminput st-disable"
                Width="200px" ReadOnly="True"></asp:TextBox>
        </div>
        <div class="half2 last">
            <asp:Label ID="Label8" runat="server" Text="Trust District" CssClass="st-labeltext level1" />
            <asp:DropDownList ID="DropDownListTrustDistrict" CssClass="st-forminput" Width="200px"
                runat="server">
            </asp:DropDownList>
        </div>
        <div class="clear">
        </div>
    </div>
</fieldset>
